package com.absurdzoo.tan;

public class Tyrannosaurus {
    private String id;
    private String name;
    private String color;
    private String shape;
    private String sound;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getShape() {
        return shape;
    }

    public void setShape(String shape) {
        this.shape = shape;
    }

    public String getSound() {
        return sound;
    }

    public void setSound(String sound) {
        this.sound = sound;
    }

    @Override
    public String toString() {
        return "当前的动物名称：tyrannosaurus{" +
                "动物id：" + id +
                ", 动物名字：'" + name + '\'' +
                ", 动物颜色：'" + color + '\'' +
                ", 动物体型：'" + shape + '\'' +
                ", 动物声音：'" + sound + '\'' +
                '}';
    }

    public void characteristic() {
        System.out.println("外形极为怪异，头部长而窄，颈部粗短，后肢强壮");
    }
    public void superpower() {
        System.out.println("超能力：能瞬移还能隐身");
    }

}
